package com.markerhub.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.markerhub.entity.SysGoods;

import java.util.List;

/**
 * @author jsx on 2023/2/13
 **/
public interface SysGoodsService extends IService<SysGoods> {
    //查询单个商品
    SysGoods getGoods(String id);

    Page<SysGoods> getList(Page page, String name,String shopName);

    //查询购物车或者购物商品
    List<SysGoods> getListByStatus(String status , String name, String userId,String reject);
}
